package cn.bgs.service;

import cn.bgs.pojo.Areas;
import cn.bgs.pojo.Cities;
import cn.bgs.pojo.Provinces;
import cn.bgs.pojo.Student;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentService {
    PageInfo<Student> findAll(Integer pageNum, Integer pageSize);

    int deleteByPrimaryKey(Integer stuId);

    Student selectByPrimaryKey(Integer stuId);

    List<Provinces> findAllProcess();

    List<Areas> findAllAreas();

    List<Cities> findAllCities();

    int updateByPrimaryKeySelective(Student record);


    int insertSelective(Student record);

    PageInfo<Student> stuQuery(Integer pageNum, Integer pageSize, Student students);
}
